<script type="text/javascript" src="./linq.js"></script>
<script type="text/javascript" src="./javascriptStackTraceTest.js"></script>
<script type="text/javascript">

	console.log(sprintf("%s-%s-%s", 55, 9, 6));

	var r = new data.NumericRange(-100, 5000);
	var type = TypeInfo.typeof(r);
	
	console.log(r);
	console.log(type);
	
	var d = new csv.dataframe([new csv.row(["1","2","3","4","5"])]);
	
	console.log(d);
	console.log(TypeInfo.typeof(d));
	
	var s = "1234567890a";
	var win = CharEnumerator(s).SlideWindows(3, 2);
	
	console.log(win);
	
	var c = '"",123,45678,90,abc,"d,e,f",g';
	var row = csv.row.Parse(c);
	
	console.log(row);
	
	console.log(r.constructor.toString());
	
	callsTop();
	
	function callsTop() {
	
		internal();
	
		function internal() {
			Hello();
		}
	}
	
	function Hello() {
		console.log(TsLinq.StackTrace.Dump());
	}
	
	callsTop2();
	
	console.log(TsLinq.URL.WindowLocation());
</script>


<!-- 路由器模块测试 -->

<script>
$ts(function() {	
	Router.register();
});
</script>

<ul>
<li><a class="router" href="./a.html">a</a></li>
<li><a class="router" href="./b.html">b</a></li>
</ul>

<div id="app">

</div>

